/**
 * 招采管理模块 http 请求
 */
import http from '@/utils/request'

export const gainBillNo = (data) => {
  return http.get('/api/erp/purchase/procurement/erpPurchaseApplyInvitation/gainBillNo', data)
}

export const add = (data) => {
  return http.post('/api/erp/purchase/procurement/erpPurchaseApplyInvitation/add', data)
}
export const edit = (data) => {
  return http.put('/api/erp/purchase/procurement/erpPurchaseApplyInvitation/edit', data)
}

export const info = (data) => {
  return http.get('/api/erp/purchase/procurement/erpPurchaseApplyInvitation/queryById', data)
}

export const queryProvisionBroadList = (data) => {
  return http.get('/api/erp/purchase/material/erpMaterialCategory/queryAllParent')
}

export const queryByProjectId = (data) => {
  return http.get('/api/erp/project/report/erpProjectReport/queryById', data)
}
export const erpPurchaseApplyInvitationDetailList = (data) => {
  return http.get('/api/erp/purchase/procurement/erpPurchaseApplyInvitationDetail/allList', data)
}
